import { request } from '@/plugins/request';
import type { loginResultTypes } from '@/types/login';

// 登录
export function login(data: { code: string }):Promise<loginResultTypes> {
    return request({
        method: 'POST',
        url: '/user/wx_xcx_registration/',
        data
    })
}

